//
// Created by alexa on 5/23/2024.
//

#ifndef ARTILLERYSYSTEM_MISSILESMENU_H
#define ARTILLERYSYSTEM_MISSILESMENU_H


#include "../_abstract-menu/Menu.h"
#include "../../../services/missiles-service/MissilesService.h"

class MissilesMenu : public Menu {
private:
    MissilesService *service;

    void createMissile();

    Missile *findMissile();

    void deleteMissile(Missile *missile);

    void printMissilesList(vector<Missile *> list);

    void printMissileInfo(Missile *missile);

    void printMenu();

    void displayMissilesList();

    void displayMissileInfo(Missile *missile);

    void findAndDisplayMissileInfo();

public:
    MissilesMenu(i18n::Translator *t, UserInterface *ui, MissilesService *service);

    void displayMenu() override;
};


#endif //ARTILLERYSYSTEM_MISSILESMENU_H
